package com.spark.incoicings.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.incoicings.dao.OrderDetailMapper;
import com.spark.incoicings.service.OrderDetailService;
import com.spark.invoicings.entity.OrderDetail;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class OrderDetailServiceImpl extends ServiceImpl<OrderDetailMapper, OrderDetail>implements OrderDetailService {
   @Resource
    private OrderDetailMapper orderDetailMapper;
    @Override
    public List<OrderDetail> selectOrderDetails(String code) {
        List<OrderDetail> orderDetails = orderDetailMapper.selectOrderDetails(code);
        return orderDetails;
    }
}
